package com.tangweiliang.user.controller;

import com.tangweiliang.user.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author :tangweiliang
 * @date : 2022/12/30 10:54
 * 未来的你会感谢现在努力的自己
 */
@RestController
public class UserController {

    @Autowired
    private UserService userService;

    @GetMapping("test")
    public String test(){
        return userService.test();
    }
}
